package com.csce.domain.entity.face;

import com.osce.common.annotation.Excel;
import com.osce.common.core.entity.BaseEntity;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * 人脸识别记录对象 face_record
 *
 * @author zzx
 * @since 2023-11-21
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
@EqualsAndHashCode(callSuper = true)
public class FaceRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 用户编号
     */
    @Excel(name = "用户编号")
    private Long userId;
    private String nickName;

    /**
     * 考试编号
     */
    @Excel(name = "考试编号")
    @NotNull(message = "请选择考试")
    private Long examId;

    /**
     * 识别详情
     */
    @Excel(name = "识别详情")
    private String info;

    /**
     * 预留字段1
     */
    @Excel(name = "预留字段1")
    private String reservedOne;

    /**
     * 预留字段2
     */
    @Excel(name = "预留字段2")
    private String reservedTwo;

}
